import request from '@/utils/request'

// 加载挂号列表[待就诊]
export function queryToBeSeenRegistration(scheudlingType) {
  return request({
    url: '/doctor/care/queryToBeSeenRegistration/' + scheudlingType,
    method: 'get'
  })
}
// 加载挂号列表[就诊中]
export function queryVisitingRegistration(scheudlingType) {
  return request({
    url: '/doctor/care/queryVisitingRegistration/' + scheudlingType,
    method: 'get'
  })
}
// 加载挂号列表[就诊完成]
export function queryVisitCompletedRegistration(scheudlingType) {
  return request({
    url: '/doctor/care/queryVisitCompletedRegistration/' + scheudlingType,
    method: 'get'
  })
}
// 根据患者ID查询患者信息 患者档案信息  历史病例
export function getPatientAllMessageByPatientId(patientId) {
  return request({
    url: '/doctor/care/getPatientAllMessageByPatientId/' + patientId,
    method: 'get'
  })
}
// 接诊
export function receivePatient(regId) {
  return request({
    url: '/doctor/care/receivePatient/' + regId,
    method: 'post'
  })
}
